print("周岱".encode("utf-8"))

print(b'\xe5\x91\xa8\xe5\xb2\xb1'.decode("utf-8"))

a = "hello "
b = "world"
print(a + b)

a += b
print(a)

a = "hello world"
print(a[2])
print(a.find("h"))
print(a.index("w"))

a = "202012011"
b = "202012021"
c = "202012031"
d = a + b + c
print(d.startswith("2020"))
print(d.endswith("1"))

a = "Now Year"
print(a.replace("Now","New"))

a = "11,22,33"
print(a.split(","))

a = ['11','22','33']
print(",".join(a))

a = "  New Year  "
print(a.strip())

a = "    New Year 2021"
print(a.lstrip())

a = "    New Year 2021    "
print(a.rstrip())

a = "ba"
b = "la"
print(f"speak:{a},{b},{a},{b}")

print("{:.4f}".format(3.1415926))
